]> dgit.raspbian.org Git - gnome-shell.git/commit
data: Enable clean session shutdown after gnome-shell failure
authorBenjamin Berg <bberg@redhat.com>
Mon, 25 Nov 2019 14:15:01 +0000 (15:15 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 25 Nov 2019 21:49:49 +0000 (21:49 +0000)
commitd9ef612302c5e54b9fcd737fffe74ed6958bdfa6
treefb58800ee5353f36d61d3bfc3f66aee293ec61e6
parentf7424847950b360ec885716cf931c62ef7870f00
data: Enable clean session shutdown after gnome-shell failure

If the GNOME shell crashes, we run a service that may disable
extensions. This is important so that users will not be locked out of
their own session in case an extension is causing crashes.

As this is a very agressive action, we tried to only do this in the
first two minutes of the session. Unfortunately, the logic was broken
and would result in an unclean session shutdown.

Fix this by using the newly introduced gnome-shell-disable-extensions
file. This is created by the extension subsystem for a period of time to
indicate the extensions may be the cause of a gnome-shell failure.

See
  https://gitlab.gnome.org/GNOME/gnome-session/issues/43
for a log of the bug happening and the gnome-session part to fix this.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/858
data/gnome-shell-disable-extensions.service